package com.jingxing.service;


import com.jingxing.pojo.UserInfo;

import javax.servlet.http.HttpServletRequest;

public interface LoginService {
    String login(String phone, String code);

    void logout(HttpServletRequest request);

    UserInfo getLoginInfo(String token);
}
